package com.fadadianqi.logistics.inventory.dao;

import com.fadadianqi.commons.BaseDAO;
import com.fadadianqi.logistics.inventory.model.Batch;
import com.yeqiangwei.commons.util.Pagination;

import java.util.List;

public interface BatchDAO extends BaseDAO<Batch> {

    List<Batch> findAll(Pagination pagination);

    List<Batch> findAll(String goodsId, String categoryId, String brandId, Pagination pagination);

    int count(String goodsId, String brandId, String categoryId);

}
